//
var TN_Widget = function() {
return {
//Options
newWindow : true,
linkText : "view
tickets",
tixUrl : "http://www.ticketnetwork.com/tix/",
trackingParams : "",
custLink : true,
//depricated
kbid : "",
//Overwrittable functions
trackingLink :"",
CreateCustomUrl : function(row) {
return this.tixUrl + row[7] + "-tickets-"+ row[6] + ".aspx";
},
CreateEventRow : function(row, isAlt) {
return "
" +
row[0] +" | " +
row[1] +" " +
row[2] +" | " +
row[3] +" " +
row[4] + " " +
row[5] + " | "+ this.linkText+ " |
";
},
AddCss: function(cssUrl) {
var fileref=document.createElement("link");
fileref.setAttribute("rel", "stylesheet");
fileref.setAttribute("type", "text/css");
fileref.setAttribute("href", cssUrl);
document.getElementsByTagName("head")[0].appendChild(fileref);
},
CreateTable : function(eventData,kywrds,url) {
if(typeof(TN_SetWidgetOptions) == "function")
TN_SetWidgetOptions();
//for backwards compatability
if(this.kbid != "")
this.trackingParams = "?img=249&kbid="+this.kbid;
var newTable = [];
for(var cntr = 0; cntr < eventData.length; cntr++)
newTable.push(this.CreateEventRow(eventData[cntr], cntr % 2 == 1));
var objToAddTo;
if(objToAddTo = document.getElementById("tn_results_container")) {
objToAddTo.innerHTML = '' + newTable.join('') + '
';
} else
document.write('' + newTable.join('') + '
');
if(eventData.length >= 100 && kywrds != undefined) {
if(objToAddTo = document.getElementById("tn_results_container")) {
objToAddTo.innerHTML += '';
} else {
document.write("");
}
}
if(eventData.length > 0) {
document.getElementById("previewNote").style.display = "none";
}
}
};
}();
//BPW-TNSERV-04B
TN_Widget.CreateTable([['21 Savage','Germania Insurance Amphitheater','Austin, TX','Tuesday','5/14/2024','7:00 PM','6292373','21-Savage-5-14-2024'],['Pixies & Modest Mouse','Germania Insurance Amphitheater','Austin, TX','Wednesday','6/26/2024','6:00 PM','6227095','Pixies---Modest-Mouse-6-26-2024'],['Sips & Sounds Summer Festival - 2 Day Pass','Germania Insurance Amphitheater','Austin, TX','Saturday','6/29/2024','TBD','6332896','Sips---Sounds-Summer-Festival---2-Day-Pass-6-29-2024'],['Sips & Sounds Summer Festival','Germania Insurance Amphitheater','Austin, TX','Saturday','6/29/2024','2:00 PM','6332897','Sips---Sounds-Summer-Festival-6-29-2024'],['Sips & Sounds Summer Festival','Germania Insurance Amphitheater','Austin, TX','Sunday','6/30/2024','2:00 PM','6332898','Sips---Sounds-Summer-Festival-6-30-2024'],['New Kids On The Block','Germania Insurance Amphitheater','Austin, TX','Friday','7/12/2024','7:00 PM','6045195','New-Kids-On-The-Block-7-12-2024'],['Lamb Of God & Mastodon','Germania Insurance Amphitheater','Austin, TX','Saturday','7/20/2024','6:00 PM','6251810','Lamb-Of-God---Mastodon-7-20-2024'],['Third Eye Blind, Yellowcard & Arizona','Germania Insurance Amphitheater','Austin, TX','Friday','8/2/2024','6:30 PM','6203523','Third-Eye-Blind--Yellowcard---Arizona-8-2-2024'],['Megadeth','Germania Insurance Amphitheater','Austin, TX','Wednesday','8/21/2024','6:15 PM','6399788','Megadeth-8-21-2024'],['Slightly Stoopid & Dirty Heads','Germania Insurance Amphitheater','Austin, TX','Thursday','8/29/2024','6:00 PM','6372801','Slightly-Stoopid---Dirty-Heads-8-29-2024'],['Thirty Seconds to Mars & AFI','Germania Insurance Amphitheater','Austin, TX','Friday','8/30/2024','6:30 PM','6071696','Thirty-Seconds-to-Mars---AFI-8-30-2024'],['Float Fest: Lil Wayne, The Kid Laroi & Jessie Murph','Germania Insurance Amphitheater','Austin, TX','Saturday','9/7/2024','6:15 PM','6330499','Float-Fest--Lil-Wayne--The-Kid-Laroi---Jessie-Murph-9-7-2024'],['Green Day, Rancid & The Linda Lindas','Germania Insurance Amphitheater','Austin, TX','Tuesday','9/10/2024','6:30 PM','6053251','Green-Day--Rancid---The-Linda-Lindas-9-10-2024'],['Neil Young & Crazy Horse','Germania Insurance Amphitheater','Austin, TX','Friday','9/13/2024','7:30 PM','6264913','Neil-Young---Crazy-Horse-9-13-2024'],['Rob Zombie & Alice Cooper','Germania Insurance Amphitheater','Austin, TX','Saturday','9/14/2024','6:00 PM','6239197','Rob-Zombie---Alice-Cooper-9-14-2024'],['The Marley Brothers','Germania Insurance Amphitheater','Austin, TX','Sunday','9/15/2024','7:00 PM','6381721','The-Marley-Brothers-9-15-2024'],['Five Finger Death Punch','Germania Insurance Amphitheater','Austin, TX','Wednesday','9/18/2024','6:00 PM','6311977','Five-Finger-Death-Punch-9-18-2024'],['Kidz Bop Live','Germania Insurance Amphitheater','Austin, TX','Friday','9/27/2024','7:00 PM','6220102','Kidz-Bop-Live-9-27-2024'],['Kygo & Zara Larsson','Germania Insurance Amphitheater','Austin, TX','Saturday','9/28/2024','7:00 PM','6395675','Kygo---Zara-Larsson-9-28-2024'],['Breaking Benjamin & Staind','Germania Insurance Amphitheater','Austin, TX','Friday','10/25/2024','5:30 PM','6314454','Breaking-Benjamin---Staind-10-25-2024'],['King Gizzard and The Lizard Wizard','Germania Insurance Amphitheater','Austin, TX','Friday','11/15/2024','7:00 PM','5932184','King-Gizzard-and-The-Lizard-Wizard-11-15-2024']],'Austin360 Amphitheater','http://www.ticketnetwork.com/ticket/Austin360-Amphitheater-events.aspx');